home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
A-Monthly Disks
/
(c)aax.d64
/
-dh copy 2.0
(
.txt
)
next >
Wrap
Commodore BASIC
|
2007-02-04
|
3KB
|
51 lines
0 DATA160,16,132,248,160,,132,247,32,207,255,145,247,200,240,8,32,183,255,240,243:DATA132,247,96,230,248,165,248,201,208,208,240,96,234,169,54,133,1,160,16,132,254:DATA160,,132,253,177,253,32,210,255,200,240,18,196,247,208,244,166,254,228,248
1 DATA208,238,32,231,255,169,55,133,1,96,230,254,76,166,3,234,169,5,162,8,160,5,32:DATA186,255,173,232,3,162,60,160,3,32,189,255,32,192,255,96,234,162,5,32,198,255:DATA96,234,162,5,32,201,255,96:POKE51,.:POKE52,22:POKE55,.:POKE56,22:CLR:POKE53269,.:GOTO24
2 H=827:G=65484:R=65478:SS=54272:P=880:F1=53247:F2=1:Z=256:F=781:Q=198:T=59903:RETURN
3 PRINT"[147]-[159]*-[158][193]NY[203]EY[193]BORTS-[159]*-":OPEN1,8,.,"$":POKEF,1:SYSR:GETA$,A$
4 SYSG:GETB$:IFB$<>""THENPRINT"-[159]*-[158][193]BORTED-[159]*-":GOTO9
5 POKEF,1:SYSR:GETA$,A$:IFA$=""THENSYSG:GOTO9
6 GETB$,L$:LN$=STR$(ASC(B$+CHR$(.))+ASC(L$+CHR$(.))*Z):PRINT""LN$"[159]";
7 GETA$:PRINTL$;A$;:IFA$=""THENPRINT:GOTO4
8 GOTO7
9 CLOSE1:PRINT"[153] [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]":PRINT" [208]RESS [193]NY [203]EY [212]O [195]ONTINUE":GOSUB23:POKEQ,.:WAITQ,1:POKEQ,.:GOTO25
10 POKEF,C:SYST:RETURN
11 POKEF,C:SYST
12 PRINTY$" ";:POKEQ,.:PRINT"[159]";:IN$=""
13 PRINT"[164]";
14 GETI$:IFI$=""THEN14
15 PRINT"[157]";:IN=ASC(I$):IFIN=13THENPRINT" ":RETURN
16 IFIN=20ANDLEN(IN$)THENIN$=LEFT$(IN$,LEN(IN$)-1):PRINTI$;:GOTO13
17 IF(INAND127)<32ORLEN(IN$)=ILTHEN13
18 PRINTI$;:POKE212,.:IN$=IN$+I$:GOTO13
19 D=.:PRINT" [129][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]":PRINT" [208]RESS '[193]' [212]O [193]BORT[155]":RETURN
20 GETA$:IFA$=""THEN20
21 IFA$="A"THEND=1
22 RETURN
23 POKESS+24,15:POKESS+1,110:POKESS+5,9:POKESS+6,9:POKESS+4,17:POKESS+4,16:RETURN
24 GOSUB2:FORP=880TO994:READA:POKEP,A:NEXT:POKE909,(F1+1)/Z:POKE917,F2:POKE950,F2:POKE881,PEEK(56):POKE919,PEEK(56):POKE53265,27:OPEN15,8,15,"UI+":CLOSE15
25 CLR:GOSUB2:PRINT"[147] <[153]< [155][195]OPY [198]ILE [212]O [193]NOTHER [196]ISK [153]>>"
26 C=4:Y$="[211]EE [193] [196]IRECTORY? ([153][217]/[153][206])":IL=1:GOSUB12:IFIN$="Y"THEN3
27 IFIN$<>"N"THEN26
28 C=4:OPEN15,8,15:Y$="[197]NTER [198]ILE [212]O [195]OPY:":IL=16:GOSUB11:P$=IN$
29 Y$="[197]NTER [198]ILETYPE ([153][208]/[153][211]):":IL=1:GOSUB12:T$=IN$:IFT$<>"P"ANDT$<>"S"THENC=6:GOSUB10:GOTO29
30 GOSUB19:PRINT" [164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164][164]":PRINT"[155] [208]RESS [193]NY [203]EY [212]O [210]EAD [198]ILE":GOSUB20:IFDTHENGOSUB49:GOTO38
31 GOSUB49:PRINT"[153][211]TATUS:[158] [201]NSERT [211]OURCE[158] [196]ISK[160]":PRINT" [208]RESS [[158][210][197][212][213][210][206]][158]"
32 GETA$:IFA$<>CHR$(13)THEN32
33 C=8:GOSUB10:C=9:GOSUB10:PRINT"[153][211]TATUS: [158][210]EADING [198]ILE - [208]LEASE [215]AIT":PT$="0:"+P$+","+T$+",R":POKE1000,LEN(PT$):FORX=1TOLEN(PT$):POKEH+X,ASC(MID$(PT$,X,1)):NEXT:SYS958:SYS982:SYS880:P=PEEK(247)+Z*PEEK(248):CLOSE5:GOSUB42:IFP<=F1THEN35
34 PRINT"[153][211]TATUS: [158][198]ILE [212]OO [204]ARGE... ":GOSUB23:PRINT"[155][208]RESS [193]NY [203]EY [212]O [195]ONTINUE":POKEQ,.:WAITQ,1:POKEQ,.:GOTO38
35 C=8:GOSUB10:GOSUB23:PRINT"[153][211]TATUS: [158][201]NSERT [196]ESTINATION[158] [196]ISK":PRINT" [208]RESS [[158][210][197][212][213][210][206]]"
36 GETA$:IFA$<>CHR$(13)THEN36
37 C=8:GOSUB10:C=9:GOSUB10:PRINT"[153][211]TATUS: [158][215]RITING [198]ILE - [208]LEASE [215]AIT":PT$="@0:"+P$+","+T$+",W":POKE1000,LEN(PT$):FORX=1TOLEN(PT$):POKEH+X,ASC(MID$(PT$,X,1)):NEXT:SYS958:SYS989:SYS914:OPEN15,8,15:GOSUB42:CLOSE15:GOSUB23
38 C=9:GOSUB10:C=8:Y$="[153][211]TATUS: [158][195]OPY [193]NOTHER [198]ILE?":IL=1
39 GOSUB11:IFIN$="Y"THEN25
40 IFIN$="N"THEN45
41 GOTO39
42 INPUT#15,A:IFATHENC=8:GOSUB10:PRINT"[153][211]TATUS: [158][197]RROR [200]AS [207]CCURED...":GOTO44
43 RETURN
44 GOSUB23:PRINT"[155][208]RESS [193]NY [203]EY [212]O [195]ONTINUE":POKEQ,.:WAITQ,1:POKEQ,.:GOTO38
45 PRINT"[153][211]TATUS: [158][201]NSERT [196]ISK [200]ELPER 5.0 [158][196]ISK":PRINT"[208]RESS [[158][210][197][212][213][210][206]]"
46 GETA$:IFA$<>CHR$(13)THEN46
47 CLOSE15:POKE53265,11:OPEN2,8,2,"DISK HELPER 5.0,P,R":CLOSE2:OPEN15,8,15:INPUT#15,A:CLOSE15:IFA>1THENPOKE53265,27:GOTO46
48 POKE51,.:POKE52,160:POKE55,.:POKE56,160:CLR:POKE53281,11:OPEN15,8,15,"UI-":CLOSE15:PRINT"[147]L[207]"CHR$(34)"DISK HELPER 5.0"CHR$(34)",8":PRINT"R[213][145][145][145][145][145][145][145][145][145][145]":POKE631,13:POKE632,13:POKE198,2:NEW
49 FORX=8TO12:POKEF,X:SYST:NEXT:RETURN